﻿<UserControl x:Class="EffectiveCapacityReport.LossesByDivision"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:telerikChart="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Charting"
    xmlns:telerikCharting="clr-namespace:Telerik.Windows.Controls.Charting;assembly=Telerik.Windows.Controls.Charting"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">

    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="style/style.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>

    <!--<StackPanel x:Name="LayoutRoot" Background="#2a2f36" >-->
        <telerikChart:RadChart x:Name="testChart" Style="{StaticResource ChartStyle}" TitleStyle="{StaticResource ChartTitleStyle}">
            <telerikChart:RadChart.DefaultView>
                <telerikCharting:ChartDefaultView>

                    <telerikCharting:ChartDefaultView.ChartTitle>
                        <telerikCharting:ChartTitle Content="Umm Shaif  Losses  Total Losses = 51MBD" HorizontalAlignment="Stretch"/>
                    </telerikCharting:ChartDefaultView.ChartTitle>

                    <telerikCharting:ChartDefaultView.ChartLegend>
                        <telerikCharting:ChartLegend x:Name="chartLegend" Header="Legend" Visibility="Collapsed"/>
                    </telerikCharting:ChartDefaultView.ChartLegend>

                    <telerikCharting:ChartDefaultView.ChartArea>


                        <telerikCharting:ChartArea LegendName="chartLegend" PlotAreaStyle="{StaticResource ClipPanelStyle}" >


                            <telerikCharting:ChartArea.AxisX>
                                <telerikCharting:AxisX Title="" IsDateTime="False">
                                    <telerikCharting:AxisX.AxisStyles>
                                        <telerikCharting:AxisStyles AxisLineStyle="{StaticResource AxisLineStyle}" TickLineStyle="{StaticResource AxisTickStyle}" GridLineStyle="{StaticResource GridLineStyle}" ItemLabelStyle="{StaticResource XItemLabelStyle}" TitleStyle="{StaticResource AxisTitleStyle}">
                                        </telerikCharting:AxisStyles>
                                    </telerikCharting:AxisX.AxisStyles>
                                </telerikCharting:AxisX>

                            </telerikCharting:ChartArea.AxisX>

                            <telerikCharting:ChartArea.AxisY>
                                <telerikCharting:AxisY Title="MBD"  StripLinesVisibility="Collapsed" MajorGridLinesVisibility="Visible" MinorTicksVisibility="Collapsed"  >
                                    <telerikCharting:AxisY.AxisStyles>
                                        <telerikCharting:AxisStyles AxisLineStyle="{StaticResource AxisLineStyle}" TickLineStyle="{StaticResource AxisTickStyle}" GridLineStyle="{StaticResource GridLineStyle}" ItemLabelStyle="{StaticResource YItemLabelStyle}" TitleStyle="{StaticResource AxisTitleStyle}">
                                        </telerikCharting:AxisStyles>
                                    </telerikCharting:AxisY.AxisStyles>
                                </telerikCharting:AxisY>
                            </telerikCharting:ChartArea.AxisY>

                            <telerikCharting:ChartArea.DataSeries>
                                <telerikCharting:DataSeries LegendLabel="">
                                    <telerikCharting:DataSeries.Definition>
                                        <telerikCharting:RangeBarSeriesDefinition  ShowItemLabels="True" SeriesItemLabelStyle="{StaticResource SeriesItemLabelStyle}">
                                            <telerikCharting:RangeBarSeriesDefinition.Appearance>
                                                <telerikCharting:SeriesAppearanceSettings Fill="Green" />
                                            </telerikCharting:RangeBarSeriesDefinition.Appearance>
                                        </telerikCharting:RangeBarSeriesDefinition>
                                    </telerikCharting:DataSeries.Definition>

                                    <telerikCharting:DataPoint Low="0"      High="326"  Label="326"    XCategory="Res.Cap"/>
                                    <!--<telerikCharting:DataPoint Low="312"    High="326"  Label="14"    XCategory="Drilling"/>
                                    <telerikCharting:DataPoint Low="294"    High="312"  Label="18"    XCategory="Projects"/>
                                    <telerikCharting:DataPoint Low="286"    High="294"  Label="8"    XCategory="Maint."/>
                                    <telerikCharting:DataPoint Low="279"    High="286"  Label="7"    XCategory="Integrity"/>
                                    <telerikCharting:DataPoint Low="276"    High="279"  Label="3"    XCategory="Monitoring"/>
                                    <telerikCharting:DataPoint Low="275"    High="276"  Label="1"    XCategory="Unplanned"/>
                                    <telerikCharting:DataPoint Low="0"      High="275"  Label="275"    XCategory="Eff.Cap"/>-->
                                </telerikCharting:DataSeries>

                            <telerikCharting:DataSeries LegendLabel="">
                                <telerikCharting:DataSeries.Definition>
                                    <telerikCharting:RangeBarSeriesDefinition  ShowItemLabels="True" SeriesItemLabelStyle="{StaticResource SeriesItemLabelStyle}">
                                        <telerikCharting:RangeBarSeriesDefinition.Appearance>
                                            <telerikCharting:SeriesAppearanceSettings Fill="Blue" />
                                        </telerikCharting:RangeBarSeriesDefinition.Appearance>
                                    </telerikCharting:RangeBarSeriesDefinition>
                                </telerikCharting:DataSeries.Definition>
                               
                                <telerikCharting:DataPoint Low="312"    High="326"  Label="14"    XCategory="Drilling"/>                            
                            </telerikCharting:DataSeries>

                            <telerikCharting:DataSeries LegendLabel="">
                                <telerikCharting:DataSeries.Definition>
                                    <telerikCharting:RangeBarSeriesDefinition  ShowItemLabels="True" SeriesItemLabelStyle="{StaticResource SeriesItemLabelStyle}">
                                        <telerikCharting:RangeBarSeriesDefinition.Appearance>
                                            <telerikCharting:SeriesAppearanceSettings Fill="Green" />
                                        </telerikCharting:RangeBarSeriesDefinition.Appearance>
                                    </telerikCharting:RangeBarSeriesDefinition>
                                </telerikCharting:DataSeries.Definition>

                                <telerikCharting:DataPoint Low="294"    High="312"  Label="18"    XCategory="Projects"/>
                            </telerikCharting:DataSeries>


                            <telerikCharting:DataSeries LegendLabel="">
                                <telerikCharting:DataSeries.Definition>
                                    <telerikCharting:RangeBarSeriesDefinition  ShowItemLabels="True" SeriesItemLabelStyle="{StaticResource SeriesItemLabelStyle}">
                                        <telerikCharting:RangeBarSeriesDefinition.Appearance>
                                            <telerikCharting:SeriesAppearanceSettings Fill="CadetBlue" />
                                        </telerikCharting:RangeBarSeriesDefinition.Appearance>
                                    </telerikCharting:RangeBarSeriesDefinition>
                                </telerikCharting:DataSeries.Definition>

                                <telerikCharting:DataPoint Low="286"    High="294"  Label="8"    XCategory="Maint."/>
                            </telerikCharting:DataSeries>

                            <telerikCharting:DataSeries LegendLabel="">
                                <telerikCharting:DataSeries.Definition>
                                    <telerikCharting:RangeBarSeriesDefinition  ShowItemLabels="True" SeriesItemLabelStyle="{StaticResource SeriesItemLabelStyle}">
                                        <telerikCharting:RangeBarSeriesDefinition.Appearance>
                                            <telerikCharting:SeriesAppearanceSettings Fill="DarkViolet" />
                                        </telerikCharting:RangeBarSeriesDefinition.Appearance>
                                    </telerikCharting:RangeBarSeriesDefinition>
                                </telerikCharting:DataSeries.Definition>

                                <telerikCharting:DataPoint Low="279"    High="286"  Label="7"    XCategory="Integrity"/>
                            </telerikCharting:DataSeries>


                            <telerikCharting:DataSeries LegendLabel="">
                                <telerikCharting:DataSeries.Definition>
                                    <telerikCharting:RangeBarSeriesDefinition  ShowItemLabels="True" SeriesItemLabelStyle="{StaticResource SeriesItemLabelStyle}">
                                        <telerikCharting:RangeBarSeriesDefinition.Appearance>
                                            <telerikCharting:SeriesAppearanceSettings Fill="Orange" />
                                        </telerikCharting:RangeBarSeriesDefinition.Appearance>
                                    </telerikCharting:RangeBarSeriesDefinition>
                                </telerikCharting:DataSeries.Definition>

                                <telerikCharting:DataPoint Low="276"    High="279"  Label="3"    XCategory="Monitoring"/>
                            </telerikCharting:DataSeries>


                            <telerikCharting:DataSeries LegendLabel="">
                                <telerikCharting:DataSeries.Definition>
                                    <telerikCharting:RangeBarSeriesDefinition  ShowItemLabels="True" SeriesItemLabelStyle="{StaticResource SeriesItemLabelStyle}">
                                        <telerikCharting:RangeBarSeriesDefinition.Appearance>
                                            <telerikCharting:SeriesAppearanceSettings Fill="DarkRed" />
                                        </telerikCharting:RangeBarSeriesDefinition.Appearance>
                                    </telerikCharting:RangeBarSeriesDefinition>
                                </telerikCharting:DataSeries.Definition>

                                <telerikCharting:DataPoint Low="275"    High="276"  Label="1"    XCategory="Unplanned"/>
                            </telerikCharting:DataSeries>


                            <telerikCharting:DataSeries LegendLabel="">
                                <telerikCharting:DataSeries.Definition>
                                    <telerikCharting:RangeBarSeriesDefinition  ShowItemLabels="True" SeriesItemLabelStyle="{StaticResource SeriesItemLabelStyle}">
                                        <telerikCharting:RangeBarSeriesDefinition.Appearance>
                                            <telerikCharting:SeriesAppearanceSettings Fill="#4ECF13" />
                                        </telerikCharting:RangeBarSeriesDefinition.Appearance>
                                    </telerikCharting:RangeBarSeriesDefinition>
                                </telerikCharting:DataSeries.Definition>

                                <telerikCharting:DataPoint Low="0"      High="275"  Label="275"    XCategory="Eff.Cap"/>
                            </telerikCharting:DataSeries>




                        </telerikCharting:ChartArea.DataSeries>
                            
                            
                            
                            
                            
                            
                        </telerikCharting:ChartArea>
                    </telerikCharting:ChartDefaultView.ChartArea>
                </telerikCharting:ChartDefaultView>
            </telerikChart:RadChart.DefaultView>

        </telerikChart:RadChart>

    <!--</StackPanel>-->
</UserControl>
